package com.newasia.shopping.converter;

import com.newasia.shopping.dal.entitys.returnValue.ItemDetail;
import com.newasia.shopping.dto.ProductDetailDto;
import org.mapstruct.Mapper;
import org.mapstruct.Mappings;

import java.util.List;

@Mapper(componentModel = "spring")
public interface ProductDectailConverter {

    @Mappings({})
    ProductDetailDto itemDectail2Dto(ItemDetail itemDetail);

    List<ProductDetailDto> itemDectail2Dto(List<ItemDetail> itemDetails);
}
